# class feibo:
#     def __init__(self) -> None:
#         a = 0
#         b = 1
#         while True:
#             a,b = b,a+b
#             print(a,',',b)
#             yield a
#             # if a>=100:
#             #     break

# fib = feibo()

def feibo():
    a = 0
    b = 1
    while True:
        a, b = b, a+b
        yield a


for temp in feibo():
    if temp > 100:
        break
    print(temp, end='   ')
